package com.mswyt.utils.test.pb.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: MsFloor
 * @Description: 楼层
 */
@Data
@TableName("ms_floor")
public class MsFloor implements Serializable {
    @TableId("id")
    private String id;

    //楼层名称
    private String name;

    @TableLogic
    private String deflag;


    @TableField(value = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;

    //楼栋Id
    @TableField(value = "building_id")
    private String buildingId;
}